#ifndef VERTEX3D_H
#define VERTEX3D_H

#include <GL/gl.h>

class Vertex3D {

 private:
  GLdouble _pos[3];
  GLdouble _normal[3];

 public:
  Vertex3D ();
  Vertex3D (const Vertex3D& v);
  Vertex3D (const GLdouble pos[3]);
  ~Vertex3D ();

  bool operator== (const Vertex3D& v);

  void computeNormal ();

  GLdouble x() const;
  GLdouble y() const;
  GLdouble z() const;
  GLdouble* pos();
  GLdouble* normal();

};

#endif
